﻿using FluentNH_DO.Entities;
using FluentNHibernate.Mapping;

namespace FluentNH_DAL.Mappings
{
    public class ContactInfoTypeMap : ClassMap<ContactInfoType>
    {
        public ContactInfoTypeMap()
        {
            Table("Test_Type");
            Id(x => x.Id);
            Map(x => x.Name).Not.Nullable().Length(15);
        }
    }
}
